﻿using System;
using System.Windows.Input;

namespace HalconDotNet
{
	/// <summary>
	/// Provides data for the HMouse* events.
	/// </summary>
	// Token: 0x02000003 RID: 3
	public class HMouseEventArgsWPF : EventArgs
	{
		// Token: 0x06000023 RID: 35 RVA: 0x00002947 File Offset: 0x00000B47
		internal HMouseEventArgsWPF(double x, double y, double row, double column, int delta, MouseButton? button)
		{
			this.x = x;
			this.y = y;
			this.row = row;
			this.column = column;
			this.delta = delta;
			this.button = button;
		}

		/// <summary>Gets the window x coordinate of the mouse event.</summary>
		// Token: 0x17000005 RID: 5
		// (get) Token: 0x06000024 RID: 36 RVA: 0x0000297C File Offset: 0x00000B7C
		public double X
		{
			get
			{
				return this.x;
			}
		}

		/// <summary>Gets the window y coordinate of the mouse event.</summary>
		// Token: 0x17000006 RID: 6
		// (get) Token: 0x06000025 RID: 37 RVA: 0x00002984 File Offset: 0x00000B84
		public double Y
		{
			get
			{
				return this.y;
			}
		}

		/// <summary>Gets the row image coordinate of the mouse event.</summary>
		// Token: 0x17000007 RID: 7
		// (get) Token: 0x06000026 RID: 38 RVA: 0x0000298C File Offset: 0x00000B8C
		public double Row
		{
			get
			{
				return this.row;
			}
		}

		/// <summary>Gets the column image coordinate of the mouse event.</summary>
		// Token: 0x17000008 RID: 8
		// (get) Token: 0x06000027 RID: 39 RVA: 0x00002994 File Offset: 0x00000B94
		public double Column
		{
			get
			{
				return this.column;
			}
		}

		/// <summary>Gets the increment for the mouse wheel change.</summary>
		// Token: 0x17000009 RID: 9
		// (get) Token: 0x06000028 RID: 40 RVA: 0x0000299C File Offset: 0x00000B9C
		public int Delta
		{
			get
			{
				return this.delta;
			}
		}

		/// <summary>Gets which mouse button was pressed.</summary>
		// Token: 0x1700000A RID: 10
		// (get) Token: 0x06000029 RID: 41 RVA: 0x000029A4 File Offset: 0x00000BA4
		public MouseButton? Button
		{
			get
			{
				return this.button;
			}
		}

		// Token: 0x0400000A RID: 10
		private readonly double x;

		// Token: 0x0400000B RID: 11
		private readonly double y;

		// Token: 0x0400000C RID: 12
		private readonly double row;

		// Token: 0x0400000D RID: 13
		private readonly double column;

		// Token: 0x0400000E RID: 14
		private readonly int delta;

		// Token: 0x0400000F RID: 15
		private readonly MouseButton? button;
	}
}
